package com.zjitc.chapter06.service.impl;

import com.zjitc.chapter06.dao.UserDao;
import com.zjitc.chapter06.service.UserService;
import lombok.Setter;

@Setter
public class UserServiceImpl implements UserService {
    private UserDao userDao;

    @Override
    public boolean login(String username, String password) {
        return userDao.login(username, password);
    }
}
